Repository navigation
feat(blog): Deploying LLMs, Part 1 — with animated transformer illustrations - #3
Merged
Merged
Conversation
An SRE's ground-up tour of the transformer (tokens, embeddings, attention, the feed-forward step, and sampling), published as a draft post. Adds a dependency-free frame-player illustration system: - AnimRuntime.astro: shared player CSS + JS that auto-inits every .fp figure; theme-aware via design tokens, honors prefers-reduced-motion, keyboard- and ARIA-accessible. - Fig.astro: 11 self-contained figures selected by a `name` prop. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds "An SRE's guide to deploying Large Language Models, Part 1: understand the workload" — a ground-up tour of the transformer aimed at SREs: tokens → embeddings → attention → the feed-forward step → layers → sampling, plus three appendices with worked numeric examples.
The post ships as a draft (
draft: true), so it's hidden in production builds and visible only inastro dev. Flip the flag to publish.Illustrations
The article is carried by 11 animated, self-contained "frame-player" illustrations (think old Flash frames: play/pause/loop + prev/next). Two new components implement them:
AnimRuntime.astro— shared player CSS + JS, included once per page. A vanilla, dependency-free controller auto-inits every.fpfigure, builds the control bar (‹ ▶ ›) +aria-livecaption + progress dots, supports keyboard (←/→/space), is theme-aware via the site's design tokens, and honorsprefers-reduced-motion(starts paused).Fig.astro— all 11 figures, selected by anameprop:tokenloop,tokenize,config,embeddings,training,attention,ffn,nextword,temperature,whyattention,whyffn.Verification
npm run buildpasses.astro dev: all 11 figures initialize (control bars, progress dots, ready-flags present in the post-JS DOM).max-width: 100%);.proseblog styles don't clash with the figures.Not included
Working docs (source markdown, plan, briefs), the downloaded model files under
llm/, and the scratch preview pagepublic/llm-illustrations.htmlare intentionally left untracked and out of this PR.🤖 Generated with Claude Code